package com.jack.xiaoer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jack.xiaoer.dto.ShopDTO;
import com.jack.xiaoer.entity.Shop;

import java.util.Optional;

/**
 * Created by Jackaroo Zhang on 2018/12/11.
 */
public interface ShopService {

    IPage<Shop> listShop(Integer pageNum, Integer pageSize);

    Shop createShop(Optional<Shop> shop);

    ShopDTO getShopDetail(Long shopId);
}
